package com.ld.collegetask.beans;

import android.app.Activity;
import android.content.Intent;
import android.view.View;

import com.ld.collegetask.OrderMemberInfoActivity;

/**
 * Created by 樊海波 on 2017/10/16.
 */

public class OrderClassBean {

    private Integer orderclassId;
    private String orderclassName;

    public void click(View view) {
        Activity mActivity = (Activity)view.getContext();
        Intent it = new Intent(mActivity, OrderMemberInfoActivity.class);
        it.putExtra("orderclassId", orderclassId);
        it.putExtra("orderclassName", orderclassName);
        mActivity.setResult(1,it);
        mActivity.finish();
    }

    public Integer getOrderclassId() {
        return orderclassId;
    }

    public void setOrderclassId(Integer orderclassId) {
        this.orderclassId = orderclassId;
    }

    public String getOrderclassName() {
        return orderclassName;
    }

    public void setOrderclassName(String orderclassName) {
        this.orderclassName = orderclassName;
    }
}
